package com.csylh.service;

import com.csylh.dto.OrderDTO;
import org.omg.PortableInterceptor.INACTIVE;
import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;

/**
 * Created by 留歌
 * Date: 2018/3/13 23:42
 * Description:
 */
public interface UserOrderService {
    //查询一个订单
    OrderDTO findOrderOne(String userId, String orderId);
    // 查询订单列表
    Page<OrderDTO> findList(String UserUserId, Pageable pageable);
    //取消订单
    OrderDTO cancelOrder(String userId, String orderId);
}
